<template>
  <div>
    <h1>{{name}}</h1>
    <h2>年龄:{{age}}</h2>
    <button @click="test1">点我测试plugins方法</button>
    <button @click="test2">点我测试plugins 混入的方法</button>
    <input type="text" v-fbind=name>
    <hr>
  </div>
</template>

<script>
import Vue from 'vue';
export default Vue.extend({
    name: 'MyStudent',
    
    data() {
        return {
             name: '张三',
             age: 19
        }
    },
    
    methods:{
      test1(){
         this.testLog(this.name)
        // console.log(this)
      },
      test2(){
         this.minxinFunc()
      }
    }

});
</script>

<style>
    div{
        background: rebeccapurple;
    }
</style>